package com.ibeeking.gmc.global.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName CampaignSceneDO
 * @Description 活动场景表
 * @Author ibeeking
 * @Date 2021-07-06 9:45
 **/
@Data
@TableName("gmc_campaign_scene_tenant")
public class CampaignSceneTenantDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private Integer tenantId;

    /**
     * 场景类型编码
     */
    @TableField(value = "scene_type_code")
    private String sceneTypeCode;

    /**
     * 场景id
     */
    @TableField(value = "scene_id")
    private Long sceneId;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private Long createBy;
}
